#include "UControlContainerWindow.h"
#include "Controls/UControl.h"

TControlContainerWindow::TControlContainerWindow()
{

}

void TControlContainerWindow::KeyDown(SDL_KeyboardEvent* Key)
{
	Controls.KeyDown(Key);
}

void TControlContainerWindow::KeyUp(SDL_KeyboardEvent* Key)
{
	Controls.KeyUp(Key);
}

void TControlContainerWindow::MouseMove(int X, int Y, int mstate)
{
	Controls.MouseMove(X, Y, mstate);
}

void TControlContainerWindow::MouseDown(int X, int Y, uint8 button)
{
	Controls.MouseDown(X, Y, button);
}

void TControlContainerWindow::MouseUp(int X, int Y, uint8 button)
{
	Controls.MouseUp(X, Y, button);
}

void TControlContainerWindow::MouseLeave()
{
	Controls.MouseLeave();
}

void TControlContainerWindow::Draw( )
{
	Controls.Draw();
}

